// 创建全局绑定信息管理
export default {
	binding: false,
	bindingType: '', // 'weixin', 'email', 'birthday', 'username','phone'
	bindingText: "",

	userInfo: {
		"name": "摸摸鱼",
		"id": 12,
		"mobile": "12345678901",
		"realname": "真实姓名",
		"avatarUrl": "头像",
		"birthday": "生日",
		"gender": "性别",
		"email": "邮箱",
		"wechatId": "微信号"
	},

	// 显示绑定界面
	showBinding(type) {
		this.bindingType = type;
		this.binding = true;
	},

	// 隐藏绑定界面
	hideBinding() {
		this.binding = false;
		this.bindingType = '';
	}
}